﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DBO_ShopMob
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class Article
    {
        #region "propriete"
        /// <summary>
        /// 
        /// </summary>
        private long _id;
        [DataMember]
        public long id
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        private string _nom;
        [DataMember]
        public string nom
        {
            get { return _nom; }
            set { _nom = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        private string _details;
        [DataMember]
        public string details
        {
            get { return _details; }
            set { _details = value; }
        }


        private double _prix;
        [DataMember]
        public double prix
        {
            get { return _prix; }
            set { _prix = value; }
        }

        private string _urlImage;
        [DataMember]
        public string urlImage
        {
            get { return _urlImage; }
            set { _urlImage = value; }
        }

        private long _categorie;
        [DataMember]
        public long categorie
        {
            get { return _categorie; }
            set { _categorie = value; }
        }

        #endregion
    }
}
